<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>RTW Report - carrary.h</title>
<link rel="stylesheet" type="text/css" href="rtwreport.css"></link><script language="JavaScript" type="text/javascript" src="rtwreport_utils.js"></script>
<SCRIPT type="text/javascript" language="JavaScript" src="slwebview.js"></SCRIPT>
<SCRIPT type="text/javascript" language="JavaScript" src="id_mapping.js"></SCRIPT>
<SCRIPT type="text/javascript" src="rtwannotate.js"></SCRIPT>
</head>
<body bgcolor="#eeeeee" onload="try {if (top) { if (top.rtwFileOnLoad) top.rtwFileOnLoad(window.document); else local_onload();}} catch(err) {};if (typeof rtwannotate === 'function') {rtwannotate('carrary_h_cov.xml');}">
<p>
<table border="0" cellspacing="0" cellpadding="6" width="100%%" height="100%%"><tr><td width="100%%" valign="top" bgcolor="#ffffff">
<h4>File: <a href="../carrary.h" target="rtwreport_document_frame" id="linkToText_plain">carrary.h</a></h4>
<pre id="RTWcode">
<span><a class="LN" name="1">    1   </a><span class="CT">/*</span>
</span><span><a class="LN" name="2">    2   </a><span class="CT"> * File: carrary.h</span>
</span><span><a class="LN" name="3">    3   </a><span class="CT"> *</span>
</span><span><a class="LN" name="4">    4   </a><span class="CT"> * Code generated for Simulink model 'carrary'.</span>
</span><span><a class="LN" name="5">    5   </a><span class="CT"> *</span>
</span><span><a class="LN" name="6">    6   </a><span class="CT"> * Model version                  : 1.2</span>
</span><span><a class="LN" name="7">    7   </a><span class="CT"> * Simulink Coder version         : 9.0 (R2018b) 24-May-2018</span>
</span><span><a class="LN" name="8">    8   </a><span class="CT"> * C/C++ source code generated on : Sun May 16 00:50:06 2021</span>
</span><span><a class="LN" name="9">    9   </a><span class="CT"> *</span>
</span><span><a class="LN" name="10">   10   </a><span class="CT"> * Target selection: ert.tlc</span>
</span><span><a class="LN" name="11">   11   </a><span class="CT"> * Embedded hardware selection: ARM Compatible-&gt;ARM Cortex</span>
</span><span><a class="LN" name="12">   12   </a><span class="CT"> * Code generation objectives: Unspecified</span>
</span><span><a class="LN" name="13">   13   </a><span class="CT"> * Validation result: Not run</span>
</span><span><a class="LN" name="14">   14   </a><span class="CT"> */</span>
</span><span><a class="LN" name="15">   15   </a>
</span><span><a class="LN" name="16">   16   </a><font color="#992211">#</font><span class="PP">ifndef</span> RTW_HEADER_carrary_h_
</span><span><a class="LN" name="17">   17   </a><font color="#992211">#</font><span class="PP">define</span> RTW_HEADER_carrary_h_
</span><span><a class="LN" name="18">   18   </a><font color="#992211">#</font><span class="PP">include</span> <font color="#992211">&lt;math.h&gt;</font>
</span><span><a class="LN" name="19">   19   </a><font color="#992211">#</font><span class="PP">include</span> <font color="#992211">&lt;string.h&gt;</font>
</span><span><a class="LN" name="20">   20   </a><font color="#992211">#</font><span class="PP">ifndef</span> carrary_COMMON_INCLUDES_
</span><span><a class="LN" name="21">   21   </a><font color="#992211">#</font> <span class="PP">define</span> carrary_COMMON_INCLUDES_
</span><span><a class="LN" name="22">   22   </a><font color="#992211">#</font><span class="PP">include</span> <font color="#992211">&quot;rtwtypes.h&quot;</font>
</span><span><a class="LN" name="23">   23   </a><font color="#992211">#</font><span class="PP">include</span> <font color="#992211">&quot;rtw_continuous.h&quot;</font>
</span><span><a class="LN" name="24">   24   </a><font color="#992211">#</font><span class="PP">include</span> <font color="#992211">&quot;rtw_solver.h&quot;</font>
</span><span><a class="LN" name="25">   25   </a><font color="#992211">#</font><span class="PP">endif</span>                                 <span class="CT">/* carrary_COMMON_INCLUDES_ */</span>
</span><span><a class="LN" name="26">   26   </a>
</span><span><a class="LN" name="27">   27   </a><font color="#992211">#</font><span class="PP">include</span> <font color="#992211">&quot;carrary_types.h&quot;</font>
</span><span><a class="LN" name="28">   28   </a>
</span><span><a class="LN" name="29">   29   </a><span class="CT">/* Macros for accessing real-time model data structure */</span>
</span><span><a class="LN" name="30">   30   </a><font color="#992211">#</font><span class="PP">ifndef</span> rtmGetErrorStatus
</span><span><a class="LN" name="31">   31   </a><font color="#992211">#</font> <span class="PP">define</span> rtmGetErrorStatus(rtm)        ((rtm)-&gt;errorStatus)
</span><span><a class="LN" name="32">   32   </a><font color="#992211">#</font><span class="PP">endif</span>
</span><span><a class="LN" name="33">   33   </a>
</span><span><a class="LN" name="34">   34   </a><font color="#992211">#</font><span class="PP">ifndef</span> rtmSetErrorStatus
</span><span><a class="LN" name="35">   35   </a><font color="#992211">#</font> <span class="PP">define</span> rtmSetErrorStatus(rtm, val)   ((rtm)-&gt;errorStatus = (val))
</span><span><a class="LN" name="36">   36   </a><font color="#992211">#</font><span class="PP">endif</span>
</span><span><a class="LN" name="37">   37   </a>
</span><span><a class="LN" name="38">   38   </a><font color="#992211">#</font><span class="PP">ifndef</span> rtmGetT
</span><span><a class="LN" name="39">   39   </a><font color="#992211">#</font> <span class="PP">define</span> rtmGetT(rtm)                  (rtmGetTPtr((rtm))[0])
</span><span><a class="LN" name="40">   40   </a><font color="#992211">#</font><span class="PP">endif</span>
</span><span><a class="LN" name="41">   41   </a>
</span><span><a class="LN" name="42">   42   </a><font color="#992211">#</font><span class="PP">ifndef</span> rtmGetTPtr
</span><span><a class="LN" name="43">   43   </a><font color="#992211">#</font> <span class="PP">define</span> rtmGetTPtr(rtm)               ((rtm)-&gt;Timing.t)
</span><span><a class="LN" name="44">   44   </a><font color="#992211">#</font><span class="PP">endif</span>
</span><span><a class="LN" name="45">   45   </a>
</span><span><a class="LN" name="46">   46   </a><span class="CT">/* Block states (default storage) for system '<a href="matlab:coder.internal.code2model('carrary')" name="code2model"><font color="#117755"><i>&lt;Root&gt;</i></font></a>' */</span>
</span><span><a class="LN" name="47">   47   </a><span class="KW">typedef</span> <span class="KW">struct</span> <b>{</b>
</span><span><a class="LN" name="48">   48   </a>  <span class="KW">struct</span> <b>{</b>
</span><span><a class="LN" name="49">   49   </a>    <span class="DT">void</span> *TimePtr;
</span><span><a class="LN" name="50">   50   </a>    <span class="DT">void</span> *DataPtr;
</span><span><a class="LN" name="51">   51   </a>    <span class="DT">void</span> *RSimInfoPtr;
</span><span><a class="LN" name="52">   52   </a>  <b>}</b> FromWorkspace_PWORK;               <span class="CT">/* '<a href="matlab:coder.internal.code2model('carrary:4')" name="code2model"><font color="#117755"><i>&lt;Root&gt;/From Workspace</i></font></a>' */</span>
</span><span><a class="LN" name="53">   53   </a>
</span><span><a class="LN" name="54">   54   </a>  <span class="KW">struct</span> <b>{</b>
</span><span><a class="LN" name="55">   55   </a>    <a href="rtwtypes_h.html#type_int_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int_T');" target="_self"><font color="#1122aa">int_T</font></a> PrevIndex;
</span><span><a class="LN" name="56">   56   </a>  <b>}</b> FromWorkspace_IWORK;               <span class="CT">/* '<a href="matlab:coder.internal.code2model('carrary:4')" name="code2model"><font color="#117755"><i>&lt;Root&gt;/From Workspace</i></font></a>' */</span>
</span><span><a class="LN" name="57">   57   </a><b>}</b> <a name="type_DW_carrary_T">DW_carrary_T</a>;
</span><span><a class="LN" name="58">   58   </a>
</span><span><a class="LN" name="59">   59   </a><span class="CT">/* External outputs (root outports fed by signals with default storage) */</span>
</span><span><a class="LN" name="60">   60   </a><span class="KW">typedef</span> <span class="KW">struct</span> <b>{</b>
</span><span><a class="LN" name="61">   61   </a>  <a href="rtwtypes_h.html#type_real_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_real_T');" target="_self"><font color="#1122aa">real_T</font></a> Out1[199];                    <span class="CT">/* '<a href="matlab:coder.internal.code2model('carrary:3')" name="code2model"><font color="#117755"><i>&lt;Root&gt;/Out1</i></font></a>' */</span>
</span><span><a class="LN" name="62">   62   </a><b>}</b> <a name="type_ExtY_carrary_T">ExtY_carrary_T</a>;
</span><span><a class="LN" name="63">   63   </a>
</span><span><a class="LN" name="64">   64   </a><span class="CT">/* Real-time Model Data Structure */</span>
</span><span><a class="LN" name="65">   65   </a><span class="KW">struct</span> tag_RTM_carrary_T <b>{</b>
</span><span><a class="LN" name="66">   66   </a>  <span class="DT">const</span> <a href="rtwtypes_h.html#type_char_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_char_T');" target="_self"><font color="#1122aa">char_T</font></a> * <span class="DT">volatile</span> errorStatus;
</span><span><a class="LN" name="67">   67   </a>  RTWSolverInfo solverInfo;
</span><span><a class="LN" name="68">   68   </a>
</span><span><a class="LN" name="69">   69   </a>  <span class="CT">/*</span>
</span><span><a class="LN" name="70">   70   </a><span class="CT">   * Timing:</span>
</span><span><a class="LN" name="71">   71   </a><span class="CT">   * The following substructure contains information regarding</span>
</span><span><a class="LN" name="72">   72   </a><span class="CT">   * the timing information for the model.</span>
</span><span><a class="LN" name="73">   73   </a><span class="CT">   */</span>
</span><span><a class="LN" name="74">   74   </a>  <span class="KW">struct</span> <b>{</b>
</span><span><a class="LN" name="75">   75   </a>    <a href="rtwtypes_h.html#type_uint32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_uint32_T');" target="_self"><font color="#1122aa">uint32_T</font></a> clockTick0;
</span><span><a class="LN" name="76">   76   </a>    <a href="rtwtypes_h.html#type_time_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_time_T');" target="_self"><font color="#1122aa">time_T</font></a> stepSize0;
</span><span><a class="LN" name="77">   77   </a>    SimTimeStep simTimeStep;
</span><span><a class="LN" name="78">   78   </a>    <a href="rtwtypes_h.html#type_time_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_time_T');" target="_self"><font color="#1122aa">time_T</font></a> *t;
</span><span><a class="LN" name="79">   79   </a>    <a href="rtwtypes_h.html#type_time_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_time_T');" target="_self"><font color="#1122aa">time_T</font></a> tArray[1];
</span><span><a class="LN" name="80">   80   </a>  <b>}</b> Timing;
</span><span><a class="LN" name="81">   81   </a><b>}</b>;
</span><span><a class="LN" name="82">   82   </a>
</span><span><a class="LN" name="83">   83   </a><span class="CT">/* Block states (default storage) */</span>
</span><span><a class="LN" name="84">   84   </a><span class="DT">extern</span> <a href="#type_DW_carrary_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_DW_carrary_T');" target="_self"><font color="#1122aa">DW_carrary_T</font></a> <a href="carrary_c.html#var_carrary_DW" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_carrary_DW');" target="_self"><font color="#1122aa">carrary_DW</font></a>;
</span><span><a class="LN" name="85">   85   </a>
</span><span><a class="LN" name="86">   86   </a><span class="CT">/* External outputs (root outports fed by signals with default storage) */</span>
</span><span><a class="LN" name="87">   87   </a><span class="DT">extern</span> <a href="#type_ExtY_carrary_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_ExtY_carrary_T');" target="_self"><font color="#1122aa">ExtY_carrary_T</font></a> <a href="carrary_c.html#var_carrary_Y" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_carrary_Y');" target="_self"><font color="#1122aa">carrary_Y</font></a>;
</span><span><a class="LN" name="88">   88   </a>
</span><span><a class="LN" name="89">   89   </a><span class="CT">/* Model entry point functions */</span>
</span><span><a class="LN" name="90">   90   </a><span class="DT">extern</span> <span class="DT">void</span> <a href="carrary_c.html#fcn_carrary_initialize" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'fcn_carrary_initialize');" target="_self"><font color="#1122aa">carrary_initialize</font></a>(<span class="DT">void</span>);
</span><span><a class="LN" name="91">   91   </a><span class="DT">extern</span> <span class="DT">void</span> <a href="carrary_c.html#fcn_carrary_step" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'fcn_carrary_step');" target="_self"><font color="#1122aa">carrary_step</font></a>(<span class="DT">void</span>);
</span><span><a class="LN" name="92">   92   </a><span class="DT">extern</span> <span class="DT">void</span> <a href="carrary_c.html#fcn_carrary_terminate" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'fcn_carrary_terminate');" target="_self"><font color="#1122aa">carrary_terminate</font></a>(<span class="DT">void</span>);
</span><span><a class="LN" name="93">   93   </a>
</span><span><a class="LN" name="94">   94   </a><span class="CT">/* Real-time Model object */</span>
</span><span><a class="LN" name="95">   95   </a><span class="DT">extern</span> <a href="carrary_types_h.html#type_RT_MODEL_carrary_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_RT_MODEL_carrary_T');" target="_self"><font color="#1122aa">RT_MODEL_carrary_T</font></a> *<span class="DT">const</span> <a href="carrary_c.html#var_carrary_M" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_carrary_M');" target="_self"><font color="#1122aa">carrary_M</font></a>;
</span><span><a class="LN" name="96">   96   </a>
</span><span><a class="LN" name="97">   97   </a><span class="CT">/*-</span>
</span><span><a class="LN" name="98">   98   </a><span class="CT"> * The generated code includes comments that allow you to trace directly</span>
</span><span><a class="LN" name="99">   99   </a><span class="CT"> * back to the appropriate location in the model.  The basic format</span>
</span><span><a class="LN" name="100">  100   </a><span class="CT"> * is &lt;system&gt;/block_name, where system is the system number (uniquely</span>
</span><span><a class="LN" name="101">  101   </a><span class="CT"> * assigned by Simulink) and block_name is the name of the block.</span>
</span><span><a class="LN" name="102">  102   </a><span class="CT"> *</span>
</span><span><a class="LN" name="103">  103   </a><span class="CT"> * Use the MATLAB hilite_system command to trace the generated code back</span>
</span><span><a class="LN" name="104">  104   </a><span class="CT"> * to the model.  For example,</span>
</span><span><a class="LN" name="105">  105   </a><span class="CT"> *</span>
</span><span><a class="LN" name="106">  106   </a><span class="CT"> * hilite_system('&lt;S3&gt;')    - opens system 3</span>
</span><span><a class="LN" name="107">  107   </a><span class="CT"> * hilite_system('&lt;S3&gt;/Kp') - opens and selects block Kp which resides in S3</span>
</span><span><a class="LN" name="108">  108   </a><span class="CT"> *</span>
</span><span><a class="LN" name="109">  109   </a><span class="CT"> * Here is the system hierarchy for this model</span>
</span><span><a class="LN" name="110">  110   </a><span class="CT"> *</span>
</span><span><a class="LN" name="111">  111   </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('carrary')" name="code2model"><font color="#117755"><i>&lt;Root&gt;</i></font></a>' : 'carrary'</span>
</span><span><a class="LN" name="112">  112   </a><span class="CT"> */</span>
</span><span><a class="LN" name="113">  113   </a><font color="#992211">#</font><span class="PP">endif</span>                                 <span class="CT">/* RTW_HEADER_carrary_h_ */</span>
</span><span><a class="LN" name="114">  114   </a>
</span><span><a class="LN" name="115">  115   </a><span class="CT">/*</span>
</span><span><a class="LN" name="116">  116   </a><span class="CT"> * File trailer for generated code.</span>
</span><span><a class="LN" name="117">  117   </a><span class="CT"> *</span>
</span><span><a class="LN" name="118">  118   </a><span class="CT"> * [EOF]</span>
</span><span><a class="LN" name="119">  119   </a><span class="CT"> */</span>
</span><span><a class="LN" name="120">  120   </a>
</span></pre>
</td></tr></table>
</p>
</body>
</html>